package com.bang.daybreak.role.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.bang.daybreak.common.framework.model.convert.Convert;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色菜单关联表
 * </p>
 *
 * @author wangdejian
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_role_menu")
public class SysRoleMenu extends Convert {

private static final long serialVersionUID=1L;

    /**
     * 角色菜单关联表主键uuid
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * sys_role角色编号
     */
    private String roleId;

    /**
     * sys_menu菜单编号
     */
    private String menuId;


    public static final String ID = "id";

    public static final String ROLE_ID = "role_id";

    public static final String MENU_ID = "menu_id";

}
